#include<iostream>
#include<time.h>
using namespace std;

void shuffle(int poke[]){
    int i,r,t;
    srand((unsigned)time(NULL));
    for(i=0;i<54;i++){
        r = (rand()%107)/2;
        t = poke[i];
        poke[i] = poke[r];
        poke[r] = t;
    }

}
int main(){
    int i,poke[54];
    for(i=0;i<54;i++)
        poke[i] = i;
    shuffle(poke);
    for(i=0;i<54;i++)
        cout << poke[i] << " ";
    cout << endl;
    return 0;
}
